<%--
  Created by IntelliJ IDEA.
  User: 33333333
  Date: 2020/9/23
  Time: 23:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>惠农网 - 登录</title>

    <!-- Bootstrap core CSS -->
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="${pageContext.request.contextPath}/css/floating-labels.css" rel="stylesheet">
</head>
<body>
<form class="form-signin" method="post" action="${pageContext.request.contextPath}/f-login/login" >
    <div class="text-center mb-4">
        <h1 class="h3 mb-3 font-weight-normal">欢迎回到惠农网</h1>
        <c:if test="${lgn_error!=null}">
            <p>用户名或密码错误，请重新登录!</p>
        </c:if>
    </div>

    <div class="form-label-group">
        <input type="text" id="inputEmail" class="form-control" placeholder="用户名" required autofocus name="euUserId">
        <label for="inputEmail">用户名</label>
    </div>

    <div class="form-label-group">
        <input type="password" id="inputPassword" class="form-control" placeholder="登录密码" required name="euPassword" >
        <label for="inputPassword">登录密码</label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
    <p class="mt-5 mb-3 text-muted text-center">&copy; 2020 程鑫达、赵润蕾、叶贝、辛清清的合作项目</p>
</form>
</body>
</html>
